<template>
  <div class="container">
    <!--路由组件-->
    <router-view/>
    <router-view name="footer"></router-view>
  </div>
</template>




<style lang="scss">
* {
  margin: 0;
  padding: 0;
  list-style: none;
}
html,
body,
#app,
.container {
  width: 100%;
  height: 100%;
}

.container {
  display: flex;
  flex-direction: column;
  .box {
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
    .header {
      line-height: 50px;
    }
    .main {
      flex: 1;
      overflow: auto;
    }
  }
  .footer {
    line-height: 50px;
    .van-tabbar-item--active {
      color: #000;
      font-weight: 900;
    }
  }
}
</style>
